package com.ruoyi.wcf.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库管理对象 wcf_ware_house
 * 
 * @author zhipeng
 * @date 2022-04-06
 */
public class WcfWareHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long houseId;

    /** 省份id */
    @Excel(name = "省份id")
    private Long provinceId;

    /** 仓库名 */
    @Excel(name = "仓库名")
    private String houseName;

    /** 仓库用户id */
    @Excel(name = "仓库用户id")
    private Long housrUserId;

    /** 仓库账号 */
    @Excel(name = "仓库账号")
    private String houseAccount;

    /** 仓库密码 */
    @Excel(name = "仓库密码")
    private String housePassword;

    /** 仓库状态（0-打开，1-关闭） */
    @Excel(name = "仓库状态", readConverterExp = "0=-打开，1-关闭")
    private Integer status;

    /** 仓库调配（调配仓库id） */
    @Excel(name = "仓库调配", readConverterExp = "调=配仓库id")
    private Long houseDeploy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 删除标记（0-正常，1-删除） */
    @Excel(name = "删除标记", readConverterExp = "0=-正常，1-删除")
    private Integer delFlag;

    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setHouseName(String houseName) 
    {
        this.houseName = houseName;
    }

    public String getHouseName() 
    {
        return houseName;
    }
    public void setHousrUserId(Long housrUserId) 
    {
        this.housrUserId = housrUserId;
    }

    public Long getHousrUserId() 
    {
        return housrUserId;
    }
    public void setHouseAccount(String houseAccount) 
    {
        this.houseAccount = houseAccount;
    }

    public String getHouseAccount() 
    {
        return houseAccount;
    }
    public void setHousePassword(String housePassword) 
    {
        this.housePassword = housePassword;
    }

    public String getHousePassword() 
    {
        return housePassword;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setHouseDeploy(Long houseDeploy) 
    {
        this.houseDeploy = houseDeploy;
    }

    public Long getHouseDeploy() 
    {
        return houseDeploy;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("houseId", getHouseId())
            .append("provinceId", getProvinceId())
            .append("houseName", getHouseName())
            .append("housrUserId", getHousrUserId())
            .append("houseAccount", getHouseAccount())
            .append("housePassword", getHousePassword())
            .append("status", getStatus())
            .append("houseDeploy", getHouseDeploy())
            .append("createBy", getCreateBy())
            .append("createAt", getCreateAt())
            .append("updateAt", getUpdateAt())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
